//
//  CommendTribeCell.h
//  yigou
//
//  Created by SunChao on 17/1/11.
//  Copyright © 2017年 hanyiwang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CommendTribeModel.h"
#import "MMMyAddTribe.h"

@protocol CommendTribeDelegate <NSObject>

@optional
-(void)didClickCommendTribeWithTbibeID:(NSString *)tribeID;
@end

@interface CommendTribeCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UIImageView *bgImg;
@property (weak, nonatomic) IBOutlet UIButton *addBtn;
@property (weak, nonatomic) IBOutlet UILabel *descLabel;
@property (weak, nonatomic) IBOutlet UILabel *otherLabel;
@property (nonatomic,strong)CommendTribeModel *model;
@property(nonatomic,weak) id<CommendTribeDelegate> delegate;

- (void)fillWithData:(MMMyAddTribe *)data;

@end
